package com.aaa.inbound.mapper;

import com.aaa.entity.inbound.WarehousingDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author aaa
 * @since 2020-11-25
 */
public interface WarehousingDetailMapper extends BaseMapper<WarehousingDetail> {

    @Select("UPDATE i_warehousing_detail SET qty=qty+#{qty} WHERE commodityid=#{commodityid}")
    void updDetail(Long commodityid, Integer qty);
}
